<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<html>
	<head>
	
		<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
		<title></title>
		<link href="gko100/back/css/website.css" rel="stylesheet" />
		<link rel="stylesheet" href="gko100/back/css/jquery.treeview.css" />
		<link rel="stylesheet" href="gko100/back/css/screen.css" />

	
	</head>
	<body>
		<table style="width: 90%; border:1px #222 solid; align:center;">
			<tr style="background:#999">
				<th width="20%">模块名称</th>
				<th width="40%">模块链接</th>
				<th width="10%">模块备注</th>
				<th width="30%">操作选项</th>
			</tr>
			<tr style="background:#ccc;">
				<td style="border:1px #222 solid;"><s:property value="cate.name" /></td>
				<td style="border:1px #222 solid;"><s:property value="cate.url" /></td>
				<td style="border:1px #222 solid;"><s:property value="cate.cateNote" /></td>
				<td style="border:1px #222 solid;font-size:12px;">
					<a href="cate_insert.action?cate.cateId=<s:property value="cate.cateId" />">&nbsp;&nbsp;[添加子模块]&nbsp;&nbsp;</a>
					<a href="cate_upload.action?cate.cateId=<s:property value="cate.cateId" />">&nbsp;&nbsp;[编辑模块]&nbsp;&nbsp;</a>
					<a href="cate_del.action?cate.cateId=<s:property value="cate.cateId" />">&nbsp;&nbsp;[删除模块]</a>
				</td>
			</tr>
			<s:iterator value="cateList" id="cl">
				<tr>
					<td style="border:1px #222 solid;">|--<s:property value="#cl.name" /></td>
					<td style="border:1px #222 solid;"><s:property value="#cl.url" /></td>
					<td style="border:1px #222 solid;"><s:property value="#cl.cateNote" /></td>
					<td style="border:1px #222 solid;">
						<a href="nav_insert.action?nav.navPid=0&cate.cateId=<s:property value='#cl.cateId' />">添加导航子模块</a>
					</td>
				</tr>
				<s:action name="navList_find" var="param_cateId" executeResult="true">
					<s:param name="param_cateId"><s:property value="#cl.cateId" /></s:param>
				</s:action>
				
			</s:iterator>
			
		</table>
	
		
 
</body></html>
			
			